package com.bblocks.cacheTest;

import com.bblocks.cache.fresh.EnableUnactiveFresh;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@Slf4j
@SpringBootApplication
@EnableUnactiveFresh
@ComponentScan(basePackages = {"com.bblocks.cacheTest"})
public class CacheTestApplication implements ApplicationRunner {

	public static void main(String[] args) {
		SpringApplication.run(CacheTestApplication.class, args);
	}

	@Override
	public void run(ApplicationArguments args) throws Exception {
		log.info("项目启动成功》》》》》》CacheTest");


	}
}
